package com.example.yucheng.service;

import com.example.yucheng.domain.Category;
import com.example.yucheng.util.PageQuery;
import org.apache.ibatis.annotations.*;

import java.util.List;

public interface CategoryService {

    public List<Category> getAllCategory();

    public List<Category> getCategoryByLimit(PageQuery pageQuery);


    public int deleteCategorytById(Integer id);


    public int insertCategory(Category category);


    public int updateCategory(Category category);
    public String selectCategoryName(String name);
}
